package cn.lingyangwl.agile.msg.push.model.rqrs.history;

import cn.lingyangwl.framework.core.model.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * 消息推送
 *
 * @author shenguangyang
 */
@Getter
@Setter
@ApiModel(value = "消息历史")
public class HistoryPageReq extends BasePageReq {

    @ApiModelProperty(value = "消息渠道id")
    private Long channelId;

    @ApiModelProperty(value = "消息通知id")
    private Long noticeId;

    @ApiModelProperty(value = "消息推送的状态")
    private String status;

    @ApiModelProperty(value = "接受者用户编码，可直接指定接受者手机号或邮箱地址等")
    private String toUser;

    @ApiModelProperty(value = "推送时间")
    private Date pushTime;

    @ApiModelProperty(value = "渠道类型")
    private String channelType;

    @ApiModelProperty(value = "业务类型")
    private String bizType;

    @ApiModelProperty(value = "消息组id")
    private Long groupId;

    @ApiModelProperty(value = "是否查询全部租户")
    private Boolean isQueryAllTenant = false;
}